home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD>
- <title>CreateUUID Example</title>
- </HEAD>
-
- <BASEFONT FACE="Arial, Helvetica" SIZE=2>
- <BODY bgcolor="#FFFFD5">
- <H3>CreateUUID Example</H3>
-
- <!--- This example shows the use of CreateUUID --->
- <P>
- This example uses CreateUUID to generate a UUID when
- you submit the form. You can submit the form as many times as you wish.
- </P>
-
- <!--- This code checks to see if the form was submitted, then creates a
- UUID if it was. --->
-
- <CFIF IsDefined("Form.CreateUUID") Is True>
- <HR>
- <P>Your new UUID is: <CFOUTPUT>#CreateUUID()#</CFOUTPUT></P>
- </CFIF>
-
- <CFFORM action="createuuid.cfm" METHOD="post">
-
- <P><INPUT TYPE="Submit" NAME="CreateUUID"> </P>
- </CFFORM>
-
- </BODY>
- </HTML>